<div class="node <?php print $classes; ?>" id="node-<?php print $node->nid; ?>">

	<?php 
	$vud_widget = $node->content['vud_node_widget_display']['#value'];
	if (!$page) {
		 ?>
  	<div class="appteaser"><div class="appinner">
      	<div class="appimg"><?php print $node->field_appimg[0]['view']; ?></div>
        <h2 class="title"><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
        <div class="auth">Đăng bởi <?php print $name;?></div>
        <div class="appcontent">
					<?php print $node->field_gioithieu[0]['view']; ?>
        </div>
        <div class="appfooter clearfix">
        	<div class="af-comment"><a href="<?php print $node_url; ?>#comments">[<span><?php print $comment_count;?> bình luận</span>]</a></div>
        	<div class="af-vote"><?php print $vud_widget;?></div>
        </div>
      </div></div><!-- /appinner /appteaser -->
	<?php } else { ?>

		<div class="appfull">
    	<div class="apphead">
      	<div class="clearfix">
          <div class="ahleft">
            <div class="apptitle clearfix">
              <div class="atleft">
                <?php print $vud_widget;?>
                <?php print $node->istart_avatars;?>
                <h2 class="title"><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
                <a href="<?php print $node->field_link[0]['value']; ?>" target="_blank"><?php print $node->field_link[0]['value']; ?></a>
                <div class="submitted"><?php print $name; ?> gửi vào <?php print $date;?></div>
              </div><!-- /atleft -->
              <div class="atright">
              	<?php if ($terms): ?>
                  <div class="taxonomy"><?php print $terms; ?></div>
                <?php endif;?>
              </div><!-- /atright -->
            </div>
            <div class="appcontent">
              <?php print $node->field_gioithieu[0]['view']; ?>
            </div>
          </div><!-- /apphead left -->
          <?php if ($node->field_appimg[0] || $node->field_video[0]) { ?>
          <div class="ahright">
          	<ul id="spslider">
            	<?php for ($i = 0; $i < count($node->field_appimg); $i++) { ?>
              	<?php if ($node->field_appimg[$i]['filepath']) { ?>
            	<li><?php print $node->field_appimg[$i]['view']; ?></li>
              	<?php } ?>
              <?php } ?>
              <?php if ($node->field_video[0]) { ?>
              <li><?php //print $node->field_video[0]['view']; ?><iframe width="360" height="213" src="http://www.youtube.com/embed/2zZXl9PeKe8?rel=0" frameborder="0" allowfullscreen></iframe></li>
              <?php } ?>
            </ul>
          </div><!-- /apphead right -->
          <?php } ?>
        </div>
        <div class="ahbutton">
            <?php $text = "Đánh giá";   if ($comment_count != 0) $text .= "({$comment_count})";?>
          <?php echo l($text , "node/{$node->nid}") ?>
        	<?php echo l('Hỏi đáp', "node/{$node->nid}/questions") ?>
          <?php echo l('Chỉnh sửa', "node/{$node->nid}/edit") ?>
        </div>
      </div><!-- /apphead -->
  
      
    </div><!-- /appfull -->

    

	<?php } ?>
</div> <!-- /node-->